package cn.buk.tms.eotms.service;

import cn.buk.common.JsonResult;
import cn.buk.common.sc.CommonSearchCriteria;
import cn.buk.tms.eotms.entity.OrderComment;

import java.util.List;

/**
 * 评论内容服务
 * @author yfdai
 */
public interface CommentService {

    /**
     * 创建评论
     */
    JsonResult createComment(int userId, int orderType, int orderId, String content);

    List<OrderComment> searchComments(int userId, int orderType, int orderId, CommonSearchCriteria sc);

}
